const express = require('express');
const router = express.Router();
const EmailSend = require('../../../../controller/system/emailSend-controller');

/**
 * 发送验证码
 * @route POST /api/public/system/emailSend
 * @group 发送验证码 - 发送验证码
 * @param {string} eMail - 邮箱
 * @returns {object} 200 - null
 * @returns {object} 500 - 登录失败错误
 * @returns {Error}  default - Unexpected error
 */
router.post('/', EmailSend.emailSend);

module.exports = router;